package com.relatev.minecraft.UWantRestart.Bukkit;

import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.plugin.java.JavaPlugin;

public class UWantRestart extends JavaPlugin {

    public static UWantRestart MainPlugin;

    @Override
    public void onEnable() {
        MainPlugin = this;
        ConfigManager.init();
        FunctionModule.init();
        this.getLogger().info("正是你需要的自动启动插件");
        this.getLogger().info("开始启动，作者缇亚祢|群号664015345");
    }

    @Override
    public void onDisable() {
        this.getLogger().info("开始关闭，作者缇亚祢|群号664015345");
    }
    
    @Override
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args){
        return CommandManager.onCommand(sender, command, label, args);
    }
}
